package com.ruoyi.bizsys.domain;

import com.ruoyi.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 短信记录授权对象 apply_sms
 *
 * @author african-loan
 * @date 2021-10-28
 */

@Data
public class ApplySms extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * 序号
     */

    @Excel(name = "${comment}" , readConverterExp = "序号" )
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 客户编号
     */

    @Excel(name = "客户编号" )
    private String custNo;


    /**
     * 申请编号
     */

    @Excel(name = "申请编号" )
    private String applyNo;


    /**
     * 发送/接收
     */

    @Excel(name = "发送/接收" )
    private String actionType;


    /**
     * 联系人称呼
     */

    @Excel(name = "联系人称呼" )
    private String contactsName;


    /**
     * 区号
     */

    @Excel(name = "区号" )
    private String countryCode;


    /**
     * 手机号
     */

    @Excel(name = "手机号" )
    private String phone;


    /**
     * 短信内容
     */

    @Excel(name = "短信内容" )
    private String smsContent;


    /**
     * 发送状态（未发送/已发送）
     */

    @Excel(name = "发送状态" , readConverterExp = "未=发送/已发送" )
    private String smsStatus;


    /**
     * 短信动作时间
     */

    @Excel(name = "短信动作时间" )
    private String smsTime;


    /**
     * 状态
     */

    @Excel(name = "状态" )
    private String state;


    /**
     * 批次号
     */

    @Excel(name = "批次号" )
    private String batchNo;


    /**
     * 创建时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @Excel(name = "批次号" , width = 30, dateFormat = "yyyy-MM-dd" )
    private Date createTime;

}